<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
	<title>{$title}{if $moduletitle}{C 'title_sperator' '-'}{$moduletitle}{/if}</title>
	<meta name="keyword" value="{$keyword}" >
	<meta name="description" value="{$description}" >
    {run $pageName = 'index'}
    {include member.inc.csslink}
</head>
<body>
{include member.inc.header}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：个人中心</div>
    {include member.inc.leftNav}
    <div class="main {if $signInfo[sign_status] != 1}empty{/if}">
        <h1 class="header">个人中心</h1>
        <ul class="cards">
            <li class="user">
                <div class="head">
                    {if $photo}
                    <img src="{$photo}" alt="">
                    {else}
                    <img src="/res/mpe/img/photo.png" alt="">
                    {/if}
                </div>
                <dl>
					<dt>{$username}{$level}</dt>
					<dd>账户安全：<b class="progress"></b> <i>{if $level==2}低{elseif $level==3}中{elseif $level>=4}高{/if}</i></dd>
                    <dd>
                        <img class="icon1 active" src="/res/mpe/img/blank.gif"/>
						<img class="icon2 {if $signInfo[ischecked]==2}active{/if}" src="/res/mpe/img/blank.gif"/>
                        <img class="icon3 {if $signInfo[sign_status]==1}active{/if}" src="/res/mpe/img/blank.gif"/>
                        <img class="icon4 {if $signInfo[tradepass]}active{/if}" src="/res/mpe/img/blank.gif"/>
                    </dd>
                </dl>
            </li>
			{if $signInfo[sign_status] == 1}
            <li class="fund">
                <div class="head">
                    可用资金(元)
                    <strong id="js_useable" data-val="{$usable}">{$usable}</strong>
                </div>
                <div class="tc">
                    <a href="javascript:;" class="btn-lg2 btn-primary" data-act="moneyIn">入金</a>
                    <a href="javascript:;" class="btn-lg2 btn-default" data-act="moneyOut">出金</a><br>

                </div>

            </li>
            <li class="bank">
                <div class="head">
                    附属账户余额(元)
                    <strong>{$balance}</strong>
                </div>
                <div class="text">
                    <p class="p1">{$signInfo[payName]}</p>
                    <p class="p2">附属账户：{$signInfo[virtual_account]}</p>
                    <span id="chargeWrap" data-class="btn-primary a1"></span>
                    <a href="javascript:;" class="btn-default a2" data-act="withdraw">提现</a>
                    <!--<span href="javascript:;" class="btn-primary a2" data-act="charge"><a href="javascript:;" data-act="charge">充值</a></span>-->

                </div>
            </li>
			{else}
            <li class="fund dasupay">
                <div class="head">
                    <!--<img src="/res/mpe/img/logo.png" alt="">-->
                    <strong></strong>
                </div>
                <div class="tc state">
                    <a href="">我的大塑账户</a><br>
                    {if $signInfo[ischecked]==='0' || $signInfo[ischecked]==='1'}
                    <a href="/member/member/auth" class="danger">去认证</a>
                    {elseif $signInfo[ischecked]==='2'}
                    <a href="/member/member/bankSign" class="danger">去签约</a>
                    {else}
                    <a href="/member/member/auth" class="danger">未开通</a>
                    {/if}
                </div>
            </li>
			{/if}
        </ul>
        <div class="tab-menu">
            <strong>我的订单</strong>
            <a href="/member/order/index" class="r" title="更多"></a>
        </div>
        {if $items}
        <section class="panel list_wrap" data-type="cell" data-nav_type="tab">
            {include member.order.order_index_page}
        </section>
        {else}
        <section class="panel panel_empty list_wrap"  data-nav_type="tab" data-type="cell" >

            <strong>没有找到相应的订单！</strong>

        </section>
        {/if}
    </div>
</main>


{include member.inc.footer}
{include member.inc.script}

<script>
   seajs.use('index',function(index){
        index.bankType="{$signInfo[payway]}";//签约银行的类型
        index.init();

   })
</script>
{include member.inc.foot_hook}
</body>
</html>
